<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">	
								<label class="col-sm-3 control-label">入账月份：</label>
								<div class="col-sm-8">
									<input id="sTime" name="sTime" class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">入账平台：</label>
								<div class="col-sm-8">
									<select id="settlemantPlatform" name="settlemantPlatform" class="form-control">
										<option value="">请选择结算平台</option>
										<option th:each="t,Stat : ${platform_type}" th:value="${t.value}" th:text="${t.label}"></option>
									</select>
								</div>
							</div>

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">确定入账</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/wallpaper/settlemenbill/addWallet.js" th:src="@{/js/appjs/wallpaper/settlemenbill/addWallet.js}">
	</script>

	<script>


		layui.use(['upload','laydate'], function () {

			layui.laydate.render({
				elem: '#sTime' //指定元素
				,type:'month'
				/*,range: true*/
				,format:'yyyy-MM'//默认格式
				,value: ''//初始默认时间 2020-02-22
				,max:  0
				,theme: '#393D49'
				,ready: function(date){
					console.log(date); //得到初始的日期时间对象：{year: 2017, month: 8, date: 18, hours: 0, minutes: 0, seconds: 0}
				}
				,change: function(value, date, endDate){
					console.log(value); //得到日期生成的值，如：2017-08-18
				}
				,done: function(value, date, endDate){
					console.log(value); //得到日期生成的值，如：2017-08-18

				}
			});




		})
	</script>
</body>
</html>
